package com.qpx.springbootdemo1.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.qpx.springbootdemo1.handler.SexTypeHandler;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.servlet.annotation.HandlesTypes;

@Data
@Accessors(chain = true)
public class Test {

    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    private String name;

    private byte[] pic;

    private String xml;

    private Sex sex;

}
